<%-- 
    Document   : rapportRitten
    Created on : May 25, 2012, 4:46:22 PM
    Author     : Johan
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="tl" tagdir="/WEB-INF/tags/" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
    <body> 
        <div class="post">
            <h2 class="title">Ritten rapportage</h2>
            <div class="story">
                <c:choose>
                    <c:when test="${lokatielijstsize != 0}">
                        <table>
                            <tr>
                                <th align="left" width="10%"><b>Lokatie</b></th>
                                <th align="left" width="10%"><b>Aantal</b></th>                     
                            </tr>
                            <c:forEach var="tempRitten" items="${lokatielijst}" varStatus="loop">
                                <tr class="${loop.index % 2 == 0 ? 'even' : 'odd'}">
                                   
                                    <td>${tempRitten[0]}</td>
                                    <td>${tempRitten[1]}</td>
                                  
                                </tr>
                            </c:forEach>
                        </table>
                    </c:when>
                 
                </c:choose>    

                <style type="text/css" media="print">
                    .printbutton {
                        visibility: hidden;
                        display: none;
                    }
                </style>
                <script>
                    document.write("<input type='button' " +
                        "onClick='window.print()' " +
                        "class='printbutton' " +
                        "value='Print deze pagina'/>");
                </script>
            </div>
        </div>
    </body>
</html>



